<template>
	<view class="template-index">
		<view style="width: 100%;display: block;">
			<tn-nav-bar :isBack="false">废物宝</tn-nav-bar>
			<view style="height: 10px;"></view>
			<view class="tn-flex tn-flex-row-between tn-flex-col-center ast"
				:style="{marginTop: vuex_custom_bar_height + 'px'}">
				<view @click="got('/pages/job/job')" class="justify-content-item align-content-item"
					style="padding-left: 5px;width: 96%;">
					<view class="tn-bg-gray--light tn-flex tn-flex-col-center"
						style="border-radius: 10rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 100%;background-color: #E9F0FE;">
						<text
							class="tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg"></text>
						<input class="justify-content-item" placeholder="输入店铺关键词" name="input"
							placeholder-style="color:#9FBCE3"></input>
					</view>
				</view>
				<view class="align-content-item" @click="show=true">
					<view class="justify-content-item tn-text-center">
						<tn-button shape="round" padding="20rpx 20rpx" width="200rpx" fontBold>
							<!-- <text style="color: #367DEC;font-size: 26px;" class="tn-icon-upload-simple"></text> -->
							<text
								style="color: #fff;font-size: 15px;background-color: #367DEC;padding: 8px;border-radius: 5px;">发布供需</text>
						</tn-button>
					</view>
				</view>
			</view>
			<view style="padding: 5px;width: 100%;">
				<tn-swiper :list="banlist" :height="350" mode="rect" name="image"
					indicatorPosition="bottomCenter"></tn-swiper>
			</view>



			<view style="margin-top: 5px;margin-bottom: 5px;display: block;">
				<swiper class="swiper" style="height: 160px;" circular :indicator-dots="false">
					<swiper-item v-for="(item,index) in clist" :key="index">
						<view style="overflow: hidden;display: block;">
							<view @click="topsa(items)"
								style="width: 20%;float: left;margin-top: 3px;display: block;"
								v-for="(items,indexs) in item" :key="indexs">
								<view style="width: 42px;height: 42px;border-radius: 100%;margin: 0 auto;">
									<image :src="items.image" style="width: 42px;height: 42px;border-radius: 100%;"
										mode=""></image>
								</view>
								<view style="margin-top: 4px;text-align: center;height: 40rpx;">{{items.name}}</view>
							</view>
						</view>
					</swiper-item>
				</swiper>
			</view>
			<swiper class="swiper" style="height: 32px;" autoplay vertical circular :indicator-dots="false">
				<swiper-item v-for="(item,index) in 3" :key="index">
					<view @click="got('/pages/index/xw')" style=" overflow: hidden;
					white-space: nowrap;text-overflow: ellipsis;height:32px;line-height: 32px;
					background-color: #dee8eb;padding-left: 10px;font-size: 16px;">
						<text style="font-weight: 600;margin-right: 3px;font-size: 18px;">热点</text>
						<text style="font-weight: 600;margin-right: 3px;font-size: 18px;color: #367DEC;">头条</text>
						<text>{{msgs}}</text>
					</view>
				</swiper-item>
			</swiper>
			<!-- <view @click="got('/pages/index/xw')" style=" overflow: hidden;
			white-space: nowrap;text-overflow: ellipsis;height:32px;line-height: 32px;
			background-color: #dee8eb;padding-left: 10px;font-size: 16px;">
				<text style="font-weight: 600;margin-right: 5px;font-size: 18px;">头条</text>
				<text>{{msgs}}</text>
			</view> -->

			<view
				style="box-shadow: 5px 5px 5px 5px rgba(225, 225, 225, 0.5);width: 96%;margin: 0 auto;border-radius: 10px;margin-top: 10px;">
				<view style="background-color: #ffffff;padding-top: 5px;">
					<text style="font-weight: 900;font-size: 18px;padding: 5px;margin-left: 2px;">废金属实时价格</text>
					<text style="color: #86909C;margin-left: 5px;">2024-06-27 星期四 22:30</text>
				</view>
				<view style="margin-top: 10px;overflow: hidden;">
					<tn-scroll-list :indicator="false">
						<view class="tn-flex">
							<block v-for="(item, index) in 14" :key="index">
								<view class="tn-flex-1  tn-radius"
									style="width:120px;padding: 5px;float: left;background: linear-gradient(to top, #FFEAEC, #FED8CD);;margin-left: 5px;">
									<view style="text-align: center;height: 30px;line-height: 30px;">
										<text style="color: #444444;">光亮铜</text>
										<text style="margin-left: 3px;color: #444444;">72400</text>
									</view>
									<view style="text-align: center;height: 30px;line-height: 30px;">
										<text style="font-weight: 600;color: red;font-size: 22px;">500</text>
										<text style="margin-left: 3px;font-weight: 600;font-size: 20px;">湖北</text>
									</view>
									<view style="text-align: center;height: 30px;line-height: 30px;">
										<text style="color: red;font-size: 15px;">+50</text>
										<text style="margin-left: 5px;color: red;font-size: 15px;">+2.80%</text>
									</view>
								</view>
							</block>
						</view>
					</tn-scroll-list>
				</view>
			</view>


			<view
				style="box-shadow: 5px 5px 5px 5px rgba(225, 225, 225, 0.5);width: 96%;margin: 0 auto;border-radius: 10px;margin-top: 10px;">
				<view style="background: linear-gradient(to top, #FFFFFF, #FED8CD);height: 36px;overflow: hidden;">
					<view style="width: 5%;float: left;padding: 8px;padding-top: 14px;">
						<image style="width: 18px;height: 18px;margin: 0 auto;"
							src="https://cs4.hephp.cn/images/h5/index/image_4@3x.png"></image>
					</view>
					<view style="width: 30%;float: left;padding: 10px;">
						<text style="font-weight: 900;font-size: 18px;margin-left: 3px;">招标信息</text>
						<!-- <text style="background-color: #FF4B34;color: #fff;border-radius: 20px;margin-left: 5px;padding: 3px;font-size: 11px;">有更新</text> -->
					</view>
					<view style="width: 30%;float: left;padding-top: 14px;">
						<text style="background-color: #FF4B34;color: #fff;border-radius: 20px;margin-left: 5px;
						padding: 6px 5px 6px 5px;font-size: 12px;font-weight: 600;">有更新</text>
						<!-- <image style="width:50px;height: 20px;margin: 0 auto;"
							src="https://cs4.hephp.cn/images/h5/index/Frame_34@2x.png"></image> -->
					</view>
				</view>
				<view class="zbn" @click="gozbs(item.id)" v-for="(item,index) in zblist" :key="index">
					<view class="title"
						style="font-family: PingFangSC-Semibold, PingFang SC;font-weight: 600;font-size: 18px;">
						{{item.title}}
					</view>
					<view style="margin-top: 10px;">
						<text
							style="font-size: 14px;padding: 4px;border-radius: 3px;border: 1px solid #75AAF9;color: #165DFF;font-weight: 600;">{{item.address}}</text>
						<text
							style="font-size: 14px;padding: 4px;border-radius: 3px;border: 1px solid #75AAF9;color: #165DFF;margin-left: 3px;font-weight: 600;">{{item.cname}}</text>
					</view>
					<view style="overflow: hidden;height: 32px;margin-top: 10px;">
						<view
							style="float: left;height: 32px;line-height: 32px;font-size: 14px;width:50%;display: block;color: #86909C;">
							发布日期:{{item.statime}}
						</view>
						<view
							style="float: left;height: 32px;line-height: 32px;display: block;font-size: 14px;width:50%;color: #86909C;">
							截止日期:{{item.endtime}}
						</view>
					</view>
				</view>
			</view>
			<view style="padding: 0;box-shadow: 5px 5px 5px 5px rgba(225, 225, 225, 0.5);
			width: 96%;margin: 0 auto;border-radius: 10px;margin-top: 10px;background-color: #ffffff;">
				<view style="background-color: #fff;padding: 5px;overflow: hidden;">
					<view style="width: 70%;float: left;">
						<text style="font-size: 18px;font-weight: 900;">货源信息</text>
						<text style="font-size: 16px;margin-left: 5px;" @click="got('/pages/job/job')">最新货源</text>
						<text style="font-size: 16px;margin-left: 5px;" @click="got('/pages/job/job')">采购信息</text>
						<!-- <view  style="font-size: 14px;float: left;" @click="got('/pages/job/addfb')">发布货源</view> -->
					</view>
					<view style="width: 30%;float: left;text-align: right;padding-top: 3px;">
						<text style="background-color: #FF4B34;color: #fff;border-radius: 5px;margin-left: 5px;padding: 6px 5px 6px 5px;font-size: 15px;font-weight: 600;">发布货源</text>
						<!-- <image @click="got('/pages/job/addfb')" style="height:30px;width: 80%;margin-left: 20%;"
							src="https://cs4.hephp.cn/images/h5/index/Button_按钮1.png"></image> -->
					</view>
				</view>
				<!-- 比例 start-->
				<view style="background-color: #e8e8e8;">
					<tlist :list="hylist"></tlist>
				</view>
				<view style="height: 100px;"></view>
			</view>

		</view>


		<tn-popup v-model="show" mode="bottom" width="400rpx">
			<view style="background-color: #fff;">
				<view style="overflow: hidden;height: 200px;">
					<view style="float: left;width: 50%;" @click="got('/pages/job/addfb')">
						<text style="font-size: 28px;border: 3px solid #0ECD96;
					  color: #0ECD96;font-weight: 600;
					  border-radius: 200px;height: 66px;width: 66px;
					  line-height: 66px;text-align: center;display: block;margin: 0 auto;margin-top: 30px;">卖</text>
						<text
							style="text-align: center;display: block;margin: 0 auto;margin-top: 5px;font-size: 22px;font-weight: 600;">发布供应</text>
						<text
							style="color: #0ECD96;text-align: center;display: block;margin: 0 auto;margin-top: 5px;font-size: 22px;font-weight: 600;">采购商都能看见</text>
					</view>
					<view style="float: left;width: 50%;" @click="got('/pages/job/addcg')">
						<text style="font-size: 28px;border: 3px solid #FBD3D1;
					  color: #FE0500;font-weight: 600;
					  border-radius: 200px;height: 66px;width: 66px;
					  line-height: 66px;text-align: center;display: block;margin: 0 auto;margin-top: 30px;">买</text>
						<text
							style="text-align: center;display: block;margin: 0 auto;margin-top: 5px;font-size: 22px;font-weight: 600;">发布供应</text>
						<text
							style="color: #FE0500;text-align: center;display: block;margin: 0 auto;margin-top: 5px;font-size: 22px;font-weight: 600;">采购商都能看见</text>

					</view>
				</view>
				<view @click="show=false"
					style="text-align: center;font-size: 18px;height: 36px;line-height: 36px;font-weight: 600;">
					取消
				</view>
			</view>
		</tn-popup>





		<tabbar :curls="0"></tabbar>
	</view>
</template>

<script>
	import tlist from '@/components/tlist/tlist.vue'
	import {
		getcList,
		getbannar,
		gethylist,
		getzblist
	} from '@/apis/index.js'
	export default {
		components: {
			tlist
		},
		data() {
			return {
				historyData: [{
						title: '分销中心',
						icon: 'organizatio',
						color: 'orange',
						url: '/pages/mine/sc'
					},
					{
						title: '积分商城',
						icon: 'level',
						color: 'purple',
						url: '/pages/mine/jfsc'
					},
					{
						title: '商城',
						icon: 'clock',
						color: 'blue',
						url: '/pages/mine/sc'
					},
					{
						title: '会员',
						icon: 'team',
						color: 'purplered',
						url: '/pages/mine/uhy'
					},
					// {
					//   title: '大转盘',
					//   icon: 'group-circle',
					//   color: 'teal',
					// },
					// {
					//   title: '商品核销',
					//   icon: 'scan',
					//   color: 'orangered',
					// },
					// {
					//   title: '满减优惠',
					//   icon: 'coupon',
					//   color: 'indigo',
					// },
					// {
					//   title: '视频直播',
					//   icon: 'video',
					//   color: 'green',
					// }
				],

				indicatorDots: true,
				autoplay: true,
				interval: 2000,
				duration: 500,
				show: false,
				cardCur: 0,
				isAndroid: true,
				swiperList: [],
				sValue: null,
				col: 5,
				col1: 3,
				banlist: [],
				clist: [],
				hylist: [],
				zblist: [],
				list: [],
				content: [],
				msgs: '广发期货发展研究中心总经理赵亮：理顺产业链风险口，引导',
			}
		},
		onLoad() {
			this.getbannar()
			this.getcLists()
			this.gethylists()
			this.getzblists()
		},
		// onPageScroll(e) {
		//       const scrollTop = e.scrollTop; // 获取页面滚动的距离
		//       if (scrollTop > 100) { // 在滚动距离大于100时显示元素，可以根据实际需要调整
		//         this.show = true;
		//       } else {
		//         this.show = false;
		//       }
		// },
		methods: {
			topsa(e){
				if(e.name!='商城'){
					uni.navigateTo({
						url:'/pages/index/tx?id='+e.id+'&name='+e.name
					})
				}else{
					uni.navigateTo({
						url:'/pages/mine/sc'
					})
				}
				
			},
			
			got(e) {
				uni.navigateTo({
					url: e
				})
			},
			gozbs(e) {
				uni.navigateTo({
					url: '/pages/job/zbdetail?id=' + e
				})
			},
			gotos(e) {
				uni.navigateTo({
					url: '/pages/index/detail?id=' + e
				})
			},
			cardSwiper(e) {
				this.cardCur = e.detail.current
			},
			//获取bannar图
			getbannar() {
				getbannar().then(res => {
					if (res.code == 200) {
						this.banlist = res.data
					} else {
						that.tool.toastTip('登录出错,请稍后重试!', 'none', 1000)
					}
				}).catch(error => {
					that.tool.toastTip('登录出错,请稍后重试!', 'none', 1000)
				})
			},
			// 分类列表
			getcLists() {
				getcList().then(res => {
					if (res.code == 200) {
						this.clist = res.data
					}
				}).catch(error => {
					that.tool.toastTip('登录出错,请稍后重试!', 'none', 1000)
				})
			},
			//货源列表
			gethylists() {
				gethylist().then(res => {
					if (res.code == 200) {
						this.hylist = res.data
					}
				}).catch(error => {
					that.tool.toastTip('登录出错,请稍后重试!', 'none', 1000)
				})
			},
			//招标列表
			getzblists() {
				getzblist().then(res => {
					if (res.code == 200) {
						this.zblist = res.data
					}
				}).catch(error => {
					that.tool.toastTip('登录出错,请稍后重试!', 'none', 1000)
				})
			},
			gridItemWidth() {
				return 100 / this.col + '%'
			},
			gridItemWidth1() {
				return 100 / this.col1 + '%'
			},
			// Start Search
			startSearch() {
				uni.showToast({
					title: this.sValue,
					duration: 1500,
					icon: 'none'
				})
			},
			// Release
			release() {
				uni.navigateTo({
					url: '/pagesIndex/release/release'
				})
			},
			// Go Detail
			goDetail(item, index) {
				uni.navigateTo({
					url: "/pagesIndex/goodsDetail/goodsDetail?item=" + encodeURIComponent(JSON.stringify(item))
				})
			}
		}
	}
</script>
<style lang="less" scoped>
	page {
		margin: 0;
		padding: 0;
		height: 100%;
		width: 100%;
	}

	::-webkit-scrollbar {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		-webkit-appearance: none;
		background: transparent;
	}

	.tatils {
		color: #FFFFFF;
	}

	.ast {
		background-color: #FFFFFF;
	}

	.dflex() {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.dflexsb() {
		.dflex();
		justify-content: space-between;
	}

	.dflexsa() {
		.dflex();
		justify-content: space-around;
	}

	.bIcon {
		width: 60rpx;
		height: 60rpx;
	}

	.bIcon1 {
		width: 100px;
		height: 100px;
	}

	.ctznav {
		float: left;
		width: 33%;
		padding: 10rpx;

		.ctz {
			text-align: left;
			height: 20px;

			span {
				font-size: 12px;
			}
		}
	}

	.template-index {
		max-height: 100vh;
		background-color: #FFFFFF;
	}

	.tn-tabbar-height {
		min-height: 100rpx;
		height: calc(120rpx + env(safe-area-inset-bottom) / 2);
	}


	/* 轮播视觉差 start */
	.card-swiper {
		height: 540rpx !important;
	}

	.card-swiper swiper-item {
		width: 750rpx !important;
		left: 0rpx;
		box-sizing: border-box;
		// padding: 0rpx 30rpx 90rpx 30rpx;
		overflow: initial;
	}

	.card-swiper swiper-item .swiper-item {
		width: 100%;
		display: block;
		height: 100%;
		transform: scale(1);
		transition: all 0.2s ease-in 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item {
		transform: none;
		transition: all 0.2s ease-in 0s;
		will-change: transform;
	}

	.card-swiper swiper-item .swiper-item-text {
		margin-top: -320rpx;
		text-align: center;
		width: 100%;
		display: block;
		height: 50%;
		border-radius: 10rpx;
		transform: translate(100rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item-text {
		margin-top: -320rpx;
		width: 100%;
		transform: translate(0rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
	}

	.image-banner {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.image-banner image {
		width: 100%;
		height: 100%;
		background-repeat: repeat-x;
	}

	/* 轮播指示点 start*/
	.indication {
		z-index: 9999;
		width: 100%;
		height: 36rpx;
		position: absolute;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.spot {
		background-color: #FFFFFF;
		opacity: 0.6;
		width: 10rpx;
		height: 10rpx;
		border-radius: 20rpx;
		top: -60rpx;
		margin: 0 8rpx !important;
		position: relative;
	}

	.spot.active {
		opacity: 1;
		width: 30rpx;
		background-color: #FFFFFF;
	}

	/* 简历推荐 start */
	.card-swiper2 {
		height: 420rpx !important;
		overflow: hidden;
	}

	.card-swiper2 swiper-item {
		width: 680rpx !important;
		left: 30rpx;
		box-sizing: border-box;
		overflow: initial;
		padding: 0 0rpx 40rpx 0;
	}

	.card-swiper2 swiper-item .swiper-item1 {
		width: 100%;
		display: block;
		height: 100%;
		transform: scale(0.97);
		transition: all 0.2s ease-in 0s;
		will-change: transform;
		background-color: #E7FAFE;
	}

	.card-swiper2 swiper-item.cur .swiper-item1 {
		transform: none;
		transition: all 0.2s ease-in 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item .swiper-item2 {
		margin-top: -180rpx;
		width: 100%;
		display: block;
		height: 50%;
		border-radius: 50%;
		transform: translate(510rpx, -160rpx) scale(0.9, 0.9);
		transition: all 0.3s ease 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item.cur .swiper-item2 {
		margin-top: -180rpx;
		width: 100%;
		transform: translate(510rpx, -150rpx) scale(0.9, 0.9);
		transition: all 0.3s ease 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item .swiper-item-text {
		margin-top: -270rpx;
		width: 100%;
		display: block;
		height: 100%;
		border-radius: 10rpx;
		transform: translate(30rpx, -20rpx) scale(0.8, 0.8);
		transition: all 0.6s ease 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper2 swiper-item.cur .swiper-item-text {
		margin-top: -270rpx;
		width: 100%;
		transform: translate(20rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
	}



	/* 底部tabbar假阴影 start*/
	.bg-tabbar-shadow {
		background-image: repeating-linear-gradient(to top, rgba(0, 0, 0, 0.1) 10rpx, #FFFFFF, #FFFFFF);
		position: fixed;
		bottom: 0;
		height: 450rpx;
		width: 100vw;
		z-index: -1;
	}

	/* 图标容器12 start */
	.tn-three {
		position: absolute;
		top: 50%;
		right: 50%;
		bottom: 50%;
		left: 50%;
		transform: translate(-38rpx, -20rpx) rotateX(20deg) rotateY(10deg) rotateZ(-20deg);
		text-shadow: -1rpx 2rpx 0 #f0f0f0, -2rpx 4rpx 0 #f0f0f0, -10rpx 20rpx 30rpx rgba(0, 0, 0, 0.2);
	}

	.icon12 {
		&__item {
			width: 30%;
			background-color: #FFFFFF;
			border-radius: 10rpx;
			padding: 30rpx;
			margin: 20rpx 10rpx;
			transform: scale(1);
			transition: transform 0.3s linear;
			transform-origin: center center;

			&--icon {
				width: 100rpx;
				height: 100rpx;
				font-size: 60rpx;
				border-radius: 50%;
				margin-bottom: 18rpx;
				position: relative;
				z-index: 1;

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg6.png);


				}
			}
		}
	}

	/* 页面 start*/
	.about-shadow {
		border-radius: 15rpx;
		box-shadow: 0rpx 0rpx 50rpx 0rpx rgba(0, 0, 0, 0.07);
	}

	.about {

		&__wrap {
			position: relative;
			z-index: 1;
			margin: 20rpx 30rpx;
			margin-top: -230rpx;
		}
	}

	/* 页面 end*/

	/* 图标容器1 start */
	.icon1 {
		&__item {
			// width: 30%;
			background-color: #FFFFFF;
			border-radius: 10rpx;
			padding: 30rpx;
			margin: 20rpx 10rpx;
			transform: scale(1);
			transition: transform 0.3s linear;
			transform-origin: center center;

			&--icon {
				width: 40rpx;
				height: 40rpx;
				font-size: 28rpx;
				border-radius: 50%;
				position: relative;
				z-index: 1;

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg.png);
				}
			}
		}
	}

	/* 自定义导航栏内容 start */
	.custom-nav {
		height: 100%;

		&__back {
			margin: auto 5rpx;
			font-size: 40rpx;
			margin-right: 10rpx;
			margin-left: 30rpx;
			flex-basis: 5%;
		}

		&__search {
			flex-basis: 60%;
			width: 100%;
			height: 100%;

			&__box {
				width: 100%;
				height: 70%;
				padding: 10rpx 0;
				margin: 0 30rpx;
				border-radius: 60rpx 60rpx 0 60rpx;
				font-size: 24rpx;
			}

			&__icon {
				padding-right: 10rpx;
				margin-left: 20rpx;
				font-size: 30rpx;
			}

			&__text {
				// color: #AAAAAA;
			}
		}
	}

	.logo-image {

		width: 65rpx;
		height: 65rpx;
		position: relative;
	}

	.logo-pic {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 50%;
	}

	/* 自定义导航栏内容 end */
	.tv1 {
		text-align: justify;
		height: 18px;
		line-height: 18px;
		font-size: 12px;
		display: block;
		white-space: nowrap;
		/* 确保文本在一行内显示 */
		overflow: hidden;
		/* 隐藏溢出的内容 */
		text-overflow: ellipsis;
		/* 超出部分显示为省略号 */
	}

	/* 热门图片 start*/
	.image-tuniao1 {
		padding: 165rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao2 {
		padding: 75rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao3 {
		padding: 90rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	/* 胶囊banner*/
	.image-capsule {
		padding: 100rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-piccapsule {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 20rpx 20rpx 0 0;
	}

	/* 标题 start */
	.nav_title {
		-webkit-background-clip: text;
		color: transparent;

		&--wrap {
			position: relative;
			display: flex;
			height: 120rpx;
			font-size: 46rpx;
			align-items: center;
			justify-content: center;
			font-weight: bold;
			background-image: url(https://resource.tuniaokj.com/images/title_bg/title00.png);
			background-size: cover;
		}
	}

	/* 标题 end */

	/* 业务展示 start */
	.tn-info {

		&__container {
			margin-top: 10rpx;
			margin-bottom: 50rpx;
		}

		&__item {
			width: 47.7%;
			margin: 15rpx 0rpx 30rpx 0rpx;
			padding: 40rpx 30rpx;
			border-radius: 10rpx;


			position: relative;
			z-index: 1;

			&::after {
				content: " ";
				position: absolute;
				z-index: -1;
				width: 100%;
				height: 100%;
				left: 0;
				bottom: 0;
				border-radius: inherit;
				opacity: 1;
				transform: scale(1, 1);
				background-size: 100% 100%;
				background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/2.png);
			}

			&__left {

				&--icon {
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
					font-size: 40rpx;
					margin-right: 20rpx;
					position: relative;
					z-index: 1;

					&::after {
						content: " ";
						position: absolute;
						z-index: -1;
						width: 100%;
						height: 100%;
						left: 0;
						bottom: 0;
						border-radius: inherit;
						opacity: 1;
						transform: scale(1, 1);
						background-size: 100% 100%;
						background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg5.png);
					}
				}

				&__content {
					font-size: 25rpx;

					&--data {
						color: rgba(255, 255, 255, 0.5);
						margin-top: 5rpx;
						// font-weight: bold;
					}
				}
			}

			&__right {
				&--icon {
					position: absolute;
					right: 0rpx;
					top: 50rpx;
					font-size: 100rpx;
					width: 108rpx;
					height: 108rpx;
					text-align: center;
					line-height: 60rpx;
					opacity: 0.15;
				}
			}

			&__bottom {
				box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.12);
				border-radius: 0 0 10rpx 10rpx;
				position: absolute;
				width: 85%;
				line-height: 15rpx;
				left: 50%;
				bottom: -15rpx;
				transform: translateX(-50%);
				z-index: -1;
				text-align: center;
			}
		}
	}

	/* 业务展示 end */

	/* 底部tabbar start*/
	.footerfixed {
		position: fixed;
		width: 100%;
		bottom: 0;
		z-index: 999;
		background-color: #FFFFFF;
		box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.07);
	}

	.tabbar {
		display: flex;
		align-items: center;
		min-height: 110rpx;
		justify-content: space-between;
		padding: 0;
		height: calc(110rpx + env(safe-area-inset-bottom) / 2);
		padding-bottom: calc(env(safe-area-inset-bottom) / 2);
	}

	.tabbar .action {
		font-size: 22rpx;
		position: relative;
		flex: 1;
		text-align: center;
		padding: 0;
		display: block;
		height: auto;
		line-height: 1;
		margin: 0;
		overflow: initial;
	}

	.bar-center {
		animation: suspension 3s ease-in-out infinite;
	}

	@keyframes suspension {

		0%,
		100% {
			transform: translateY(0);
		}

		50% {
			transform: translateY(-0.8rem);
		}
	}

	.tabbar .action .bar-icon {
		width: 100rpx;
		position: relative;
		display: block;
		height: auto;
		margin: 0 auto 10rpx;
		text-align: center;
		font-size: 42rpx;
		// line-height: 50rpx;
	}

	.tabbar .action .bar-icon image {
		width: 50rpx;
		height: 50rpx;
		display: inline-block;
	}

	.tabbar .action .bar-circle {
		position: relative;
		display: block;
		margin: 0rpx auto 0rpx;
		text-align: center;
		font-size: 52rpx;
		line-height: 90rpx;
		// background-color: #01BEFF;
		width: 100rpx !important;
		height: 100rpx !important;
		overflow: hidden;
		// border-radius: 50%;
		// box-shadow: 0px 10px 30px rgba(70,23,129, 0.12),
		//   0px -8px 40px rgba(255, 255, 255, 1),
		//   inset 0px -10px 10px rgba(70,23,129, 0.05),
		//   inset 0px 10px 20px rgba(255, 255, 255, 1);
		// box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(1, 190, 255, 0.5);
	}

	.tabbar .action .bar-circle image {
		width: 100rpx;
		height: 100rpx;
		display: inline-block;
		margin: 0rpx auto 0rpx;
	}

	/* 流星+悬浮 */
	.nav-index-button {
		animation: suspension 3s ease-in-out infinite;
		z-index: 999999;


		&__content {
			position: absolute;
			width: 100rpx;
			height: 100rpx;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);

			&--icon {
				width: 100rpx;
				height: 100rpx;
				font-size: 60rpx;
				border-radius: 50%;
				margin-bottom: 18rpx;
				position: relative;
				z-index: 1;
				transform: scale(0.85);

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					// background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg6.png);
				}
			}
		}

		&__meteor {
			position: absolute;
			top: 50%;
			left: 50%;
			width: 100rpx;
			height: 100rpx;
			transform-style: preserve-3d;
			transform: translate(-50%, -50%) rotateY(75deg) rotateZ(10deg);

			&__wrapper {
				width: 100rpx;
				height: 100rpx;
				transform-style: preserve-3d;
				animation: spin 20s linear infinite;
			}

			&__item {
				position: absolute;
				width: 100rpx;
				height: 100rpx;
				border-radius: 1000rpx;
				left: 0;
				top: 0;

				&--pic {
					display: block;
					width: 100%;
					height: 100%;
					background: url(https://resource.tuniaokj.com/images/cool_bg_image/arc1.png) no-repeat center center;
					background-size: 100% 100%;
					animation: arc 4s linear infinite;
				}
			}
		}
	}


	@keyframes suspension {

		0%,
		100% {
			transform: translateY(0);
		}

		50% {
			transform: translateY(-0.6rem);
		}
	}

	@keyframes spin {
		0% {
			transform: rotateX(0deg);
		}

		100% {
			transform: rotateX(-360deg);
		}
	}

	@keyframes arc {
		to {
			transform: rotate(360deg);
		}
	}

	.bannerser {
		// .dflexsb();
		// padding: 30rpx;
		box-sizing: border-box;
		// margin-top: 30rpx;
		border-radius: 60rpx;
		background: #fff;
		overflow: hidden;

		.item {
			float: left;
			width: 25%;
			.dflex();
			flex-direction: column;
			min-height: 150rpx;

			.bIcon {
				width: 60rpx;
				height: 60rpx;
			}

			text {
				margin-top: 24rpx;
				font-size: 24rpx;
			}
		}
	}

	.logsa {
		background-color: #fff;
		// height: 80rpx;
		// line-height: 80rpx;
		padding: 10px;
		margin-top: 10px;
		font-size: 32rpx;
		display: block;
		overflow: hidden;

		.bt {

			margin-left: 4px;
			padding-left: 4px;
			font-size: 17px;
			font-weight: 600;
			border-left: 5px solid #2872f4;
		}

		.bt1 {
			border-left: 4px solid #2872f4;
			overflow: hidden;

			.bt1name1 {
				margin-left: 4px;
				padding-left: 4px;
				font-size: 17px;
				font-weight: 600;
				float: left;
			}

			.bt1name1nav1 {
				float: left;
				font-size: 12px;
				background-color: #2872f4;
				color: #fff;
				padding: 5px;
				border-radius: 5px;
				margin-left: 5px;
			}

			.bt1name1nav2 {
				float: left;
				padding: 5px;
				font-size: 12px;
				background-color: #f0a000;
				color: #fff;
				border-radius: 5px;
				margin-left: 20px;
			}
		}

		.yj {
			width: 60px;
			text-align: center;
			font-weight: 600;
			height: 80rpx;
			line-height: 80rpx;
		}

		.tt {
			width: 60px;
			float: left;
			text-align: center;
			display: block;
			background-color: #f60;
			color: #fff;
			height: 80rpx;
			line-height: 80rpx;
		}

		.msgs {
			width: 220px;
			padding-left: 10px;
			display: block;
			overflow: hidden;
			height: 80rpx;
			overflow: hidden;
			/* 确保超出容器的文本被隐藏 */
			white-space: nowrap;
			/* 防止文本换行 */
			text-overflow: ellipsis;
			/* 用省略号表示被截断的文本 */
			line-height: 80rpx;
		}
	}

	.zbn {
		border-bottom: 1px solid #dad9d6;
		width: 96%;
		padding: 10px;

		.title {
			height: 32px;
			line-height: 32px;
			font-size: 16px;
			overflow: hidden;
			font-weight: 600;
		}
	}

	.container {
		height: 100%;
		width: 100%;
		font-family: PingFangSC-Semibold, PingFang SC;
		// padding: 30rpx;
		box-sizing: border-box;
		// overflow: hidden !important;
		background: #f4f6fa;
		color: #333;
		padding-bottom: 60rpx;
		overflow-y: scroll !important;

		.pageRelease {
			width: 70rpx;
			height: 70rpx;
			border-radius: 50%;
			background: #6d9ff0;
			background: rgba(0, 0, 0, 0.2);
			color: #fff;
			font-size: 50rpx;
			.dflex();
			position: fixed;
			right: 50rpx;
			bottom: 120rpx;
			transition: all 0.5s linear;
		}

		.searchBoxs {
			display: block;
			height: 36rpx;
		}

		.searchBox {
			height: 60rpx;
			width: 200px;
			// border-radius: 35rpx;
			// background: #4169E1;
			// color: #fff;
			border: 1px solid #dcdcdc;
			position: relative;
			z-index: 999;
			top: 80px;
			left: 200rpx;
			border-radius: 40rpx;
			.dflexsb();

			.sLeft {
				width: 300rpx;
				flex: 1;
				height: 100%;
				.dflex();
				justify-content: flex-start;
				padding-left: 24rpx;
				opacity: 0.8;

				.sIcon {
					width: 36rpx;
					height: 36rpx;
				}

				input {
					width: 300rpx;
					height: 100%;
					font-size: 24rpx;
					padding-left: 20rpx;
				}
			}

			.sBtn {
				height: 98%;
				height: 100%;
				width: 140rpx;
				background: #2872f4;
				.dflex();
				font-size: 24rpx;
				// border-radius: 36rpx;
				color: #fff;
			}
		}

		.banner {
			margin-top: 30rpx;
			height: 400rpx;
			.dflexsb();

			.bLeft {
				margin-right: 30rpx;
				width: 40%;
				height: 100%;
				background: #fff;
				border-radius: 14rpx;
				.dflex();
				flex-direction: column;
				justify-content: space-between;

				.bTop {
					padding: 16rpx 10rpx;
					box-sizing: border-box;

					.title {
						font-size: 24rpx;
						font-weight: bolder;
						color: #333;
						margin-top: 16rpx;
					}

					.hot {
						color: #6d9ff0;
						font-size: 22rpx;
						margin-top: 16rpx;
					}

					.look {
						background: #6d9ff0;
						height: 36rpx;
						border-radius: 20rpx;
						margin-top: 16rpx;
						.dflex();
						align-items: center;
						font-size: 20rpx;
						color: #fff;
						width: 120rpx;
					}
				}

				.bBottom {
					flex: 1;
					width: 100%;
					border-radius: 0rpx 0rpx 14rpx 14rpx !important;
					margin-top: 16rpx;

					.bbImg {
						width: 100%;
						height: 100%;
						border-radius: 0rpx 0rpx 14rpx 14rpx !important;
					}
				}
			}

			.bRight {
				flex: 1;
				height: 100%;
				.dflex();
				flex-direction: column;

				.brTop {
					height: 100%;
					width: 100%;
					background: #fff;
					border-radius: 14rpx;
					margin-bottom: 30rpx;
					.dflex();
					justify-content: flex-start;

					.brtLeft {
						width: 40%;
						height: 100%;
						padding: 12rpx 0rpx 10rpx 12rpx;
						box-sizing: border-box;

						.title {
							font-size: 22rpx;
							font-weight: bolder;
							color: #333;
						}

						.tip {
							color: #c35a6b;
							font-size: 20rpx;
							margin-top: 16rpx;
						}

						.look {
							background: #c35a6b;
							height: 36rpx;
							border-radius: 20rpx;
							margin-top: 16rpx;
							.dflex();
							align-items: center;
							font-size: 20rpx;
							color: #fff;
							width: 120rpx;
						}
					}

					.brtRight {
						flex: 1;
						height: 100%;

						image {
							width: 100%;
							height: 100%;
							border-radius: 0rpx 14rpx 14rpx 0rpx;
						}
					}
				}

				.brBottom {
					height: 100%;
					width: 100%;
					background: #fff;
					border-radius: 14rpx;
					.dflex();
					justify-content: flex-start;

					.brbLeft {
						width: 40%;
						height: 100%;
						padding: 12rpx 0rpx 10rpx 12rpx;
						box-sizing: border-box;

						.title {
							font-size: 22rpx;
							font-weight: bolder;
							color: #333;
						}

						.tip {
							color: #f3c06a;
							font-size: 20rpx;
							margin-top: 16rpx;
						}

						.look {
							background: #f3c06a;
							height: 36rpx;
							border-radius: 20rpx;
							margin-top: 16rpx;
							.dflex();
							align-items: center;
							font-size: 20rpx;
							color: #fff;
							width: 120rpx;
						}
					}

					.brbRight {
						flex: 1;
						height: 100%;

						image {
							width: 100%;
							height: 100%;
							border-radius: 0rpx 14rpx 14rpx 0rpx;
						}
					}
				}
			}
		}

		.image-pic {
			background-size: cover;
			// background-repeat:no-repeat;
			background-repeat: repeat;
			// background-attachment:fixed;
			background-position: top;
			border-radius: 20rpx 20rpx 0 0;
		}

		.image-year {
			padding: 150rpx 0rpx;
			font-size: 16rpx;
			font-weight: 300;
			position: relative;
		}

		.tab {
			margin: 30rpx 30rpx 30rpx 10rpx;
			padding: 0rpx 20rpx 0rpx 10rpx;
			box-sizing: border-box;
			.dflexsb();
			height: 66rpx;

			// box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
			.icon {
				width: 48rpx;
				height: 38rpx;
				margin-right: 8rpx;
			}

			.info {
				color: #bebebe;
				font-size: 22rpx;
				letter-spacing: 2rpx;
				margin-right: 20rpx;
			}

			.release {
				height: 42rpx;
				width: 140rpx;
				border-radius: 26rpx;
				background-color: #6d9ff0;
				.dflex();
				font-size: 24rpx;
				color: #fff;
			}
		}

		.list {
			margin-top: 30rpx;
			.dflex();
			justify-content: flex-start;
			flex-wrap: wrap;

			.item {
				width: 48%;
				padding: 10rpx 0rpx 10rpx 0rpx;
				box-sizing: border-box;
				background-color: #fff;
				border-radius: 16rpx;
				margin-bottom: 30rpx;

				&:nth-child(odd) {
					margin-right: 4% !important;

					.badge:nth-child(odd) {
						background-color: #f3cf90 !important;
					}
				}

				.iTop {
					.dflex();
					justify-content: flex-start;
					padding: 10rpx;
					box-sizing: border-box;

					.shopImg {
						width: 40rpx;
						height: 40rpx;
						border-radius: 50%;
						margin-right: 10rpx;
					}

					.itRight {
						.dflex();
						justify-content: flex-start;
						align-items: flex-start;
						flex-direction: column;

						.shopName {
							color: #333;
							font-size: 24rpx;
							margin-bottom: 4rpx;
						}

						.auth {
							padding: 2rpx 4rpx;
							box-sizing: border-box;
							border: 1rpx solid #bebebe;
							border-radius: 8rpx;
							.dflexsb();

							.authIcon {
								width: 24rpx;
								height: 24rpx;
							}

							text {
								font-size: 18rpx;
								color: #bebebe;
							}
						}
					}
				}
			}

			.center {
				width: 100%;
				height: 280rpx;
				background: #f8f8f8;
				margin-top: 12rpx;

				image {
					width: 100%;
					height: 100%;
				}
			}

			.title {
				margin: 20rpx 0rpx 20rpx 10rpx;
				font-size: 24rpx;
				color: #333;
			}

			.bottom {
				.dflexsb();
				padding: 4rpx 0rpx 4rpx 10rpx;
				box-sizing: border-box;

				.price {
					color: #f60;
					font-size: 26rpx;
					font-weight: bolder;
					padding: 0rpx 6rpx;
					box-sizing: border-box;
				}

				.bl {
					flex: 1;
					.dflex();
					justify-content: flex-start;

					.badge {
						padding: 2rpx 4rpx;
						border-radius: 4rpx;
						box-sizing: border-box;
						color: #fff;
						font-size: 18rpx;
						background-color: #c37b85;
						.dflex();
					}

					.tt {
						font-size: 20rpx;
						color: #bebebe;
						margin-left: 4rpx;
					}
				}
			}
		}
	}
</style>